package com.fxd.decorator;

/**
 * @auther fuxudong
 * @date 2021/1/25 - 14:45
 */
public class decorator implements IService{

    private IService service;

    public decorator(IService service) {
        this.service = service;
    }

    public String hello() {
        return service.hello()+"everyone";
    }
}
